using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using UnityEngine.UI;
using DG.Tweening;
/// <summary>
/// 临时代码：  之后再做修改
/// </summary>
class CameraPromt2Page : UIMonoBehaviour
{
    public Text test;
    public Image ClickContinuePic;

    public void InitChildPath()
    {
        ClickContinuePic = transform.Find("bg/ClickContinuePic").GetComponent<Image>();
        test = transform.Find("bg/Text").GetComponent<Text>();

    }
    public void Awake()
    {
        InitChildPath();
        Vector3 pos = ClickContinuePic.transform.localPosition;
        pos.y += 5;
        ClickContinuePic.transform.DOLocalMove(pos, 0.5f).SetLoops(-1, LoopType.Yoyo);
        test.text = TextReadUtils.GetRightTextFromText(test.text);
    }
}

